package com.waterdrop.wlsggk.mapper;

import com.waterdrop.wlsggk.pojo.TransferReplenish;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * wlsggkMapper接口
 *
 * @author Naruto
 * @date 2023-10-24
 */
@Component
public interface TransferReplenishMapper {
    /**
     * 查询wlsggk
     *
     * @param replenishId wlsggk主键
     * @return wlsggk
     */
    public TransferReplenish selectTransferReplenishByReplenishId(Long replenishId);

    /**
     * 查询wlsggk列表
     *
     * @param transferReplenish wlsggk
     * @return wlsggk集合
     */
    public List<TransferReplenish> selectTransferReplenishList(TransferReplenish transferReplenish);

    /**
     * 新增wlsggk
     *
     * @param transferReplenish wlsggk
     * @return 结果
     */
    public int insertTransferReplenish(TransferReplenish transferReplenish);

    /**
     * 修改wlsggk
     *
     * @param transferReplenish wlsggk
     * @return 结果
     */
    public int updateTransferReplenish(TransferReplenish transferReplenish);

    /**
     * 删除wlsggk
     *
     * @param replenishId wlsggk主键
     * @return 结果
     */
    public int deleteTransferReplenishByReplenishId(Long replenishId);

    /**
     * 批量删除wlsggk
     *
     * @param replenishIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTransferReplenishByReplenishIds(Long[] replenishIds);
}
